{% extends "base/base.html" %}
{% import "macro/display.html" as display -%}
{% block title %}{{ gettext(list_title) }}{% endblock %}

{% block main %}
    <h2>
        <img class="icon_header" src="{{ STATIC_URL }}music.png" alt="" />
        {{ gettext(list_title) }}
    </h2>

    {% for l in al %}
        <a href="{{ url(letter_url_name, l) }}">
            {{ l|upper }}
        </a>
    {% endfor %}

    [<a href="{{ url(all_url_name) }}">{{ gettext("All Songs") }}</a>]

    <br /><br />

    {% set objs, paging = dv.paginate(object_list) %}

    {{ display.songslist(objs, user, desc_function = desc_function) }}

    <p>{{ paging }}</p>
{% endblock %}
